<html>
<script>
const num = [1,5,6,11,2,3,4,8,7,14];
num.forEach( num => {
	setTimeout( () => { console.log(num)}, num);
});
</script>
</html>